<template>

	<MkQueryContainer>
		<template #header="">
			<MkPanel title="检索条件">
				<MkForm :col="3">
					<MkInput v-model="searchParam.keyword" label="标本号/申请单号" @keyup.enter.native="search" clearable />
					<MkSelect v-model.trim="searchParam.zhuangTai" label="标本状态" prop="zhuangTai"
						:options="['待绑定', '已绑定', '已采集', '已送出', '已送达', '已接收']" />
					<MkFormDateTime v-model="searchParam.startTime" label="接收时间起始" prop="startTime" />
					<MkFormDateTime v-model="searchParam.endTime" label="接收时间结束" prop="endTime" />
					<MkInput v-model="searchParam.xingMing" label="姓名" clearable />
					<MkInput v-model="searchParam.huanZheId" label="住院号/患者ID" clearable />
				</MkForm>
			</MkPanel>
		</template>
		<MkTable :data="tableData" v-loading="loading">
			<MkColumnIndex />
			<MkColumn label="标本号" />
			<MkColumn label="申请单号" />
			<MkColumn label="标本状态" />
			<MkColumn label="姓名" />
			<MkColumn label="住院号/患者ID" />
			<MkColumn label="接收人" />
			<MkColumn label="接收时间" />
			<MkColumn label="送达人" />
			<MkColumn label="送达时间" />
		</MkTable>
		<MkPagination v-model:page="searchParam.page" v-model:pageSize="searchParam.pageSize" :total="total"
			@query="search" />
	</MkQueryContainer>
</template>
<script setup lang="ts">
import { usePageQuery } from '/@/hooks/usePageQuery';
// 
const { searchParam, total, tableData, loading, search } = usePageQuery<any, any>(() => { })
</script>